package com.steven.task;

public class SimpleTask implements Task {
	private String taskName;
	
	public SimpleTask(String taskName) {
		setName(taskName);
	}

	public void execute() {
		System.out.println(taskName);
	}

	@Override
	public String getName() {
		return taskName;
	}

	@Override
	public void setName(String name) {
		this.taskName = name;
	}

}
